package com.example.compkeylab.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author Cheng Guanghao
 * @since 2023-11-27
 */
@TableName("flow_analysis")
@ApiModel(value = "FlowAnalysis对象", description = "")
public class FlowAnalysis implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("访问量")
    private Integer visit;

    @ApiModelProperty("平均浏览时长，单位：小时")
    private Double averageTime;

    @ApiModelProperty("购买转化率，购买次数除以访问次数")
    private Double conversionRate;

    @ApiModelProperty("移动设备访问量")
    private Integer mobile;

    @ApiModelProperty("桌面端访问量")
    private Integer desktop;

    @ApiModelProperty("直接流量是指访问者直接输入网站的网址或使用书签等方式来访问网站的流量")
    private Integer direct;

    @ApiModelProperty("转介流量是指通过点击其他网站上的链接进入你的网站的流量")
    private Integer referral;

    @ApiModelProperty("搜索流量是指通过搜索引擎查询后点击搜索结果中的链接进入你的网站的流量")
    private Integer search;

    @ApiModelProperty("社交流量是指通过社交媒体平台上的链接进入你的网站的流量")
    private Integer social;

    @ApiModelProperty("付费流量是指通过付费广告渠道进入你的网站的流量。")
    private Integer paid;

    @ApiModelProperty("受众在登陆之前访问的网站1")
    private String urlBefore1;

    @ApiModelProperty("受众在登陆之前访问的网站2")
    private String urlBefore2;

    @ApiModelProperty("受众在登陆之前访问的网站3")
    private String urlBefore3;

    @ApiModelProperty("受众在登陆之后访问的网站1")
    private String urlAfter1;

    @ApiModelProperty("受众在登陆之后访问的网站2")
    private String urlAfter2;

    @ApiModelProperty("受众在登陆之后访问的网站3")
    private String urlAfter3;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVisit() {
        return visit;
    }

    public void setVisit(Integer visit) {
        this.visit = visit;
    }

    public Double getAverageTime() {
        return averageTime;
    }

    public void setAverageTime(Double averageTime) {
        this.averageTime = averageTime;
    }

    public Double getConversionRate() {
        return conversionRate;
    }

    public void setConversionRate(Double conversionRate) {
        this.conversionRate = conversionRate;
    }

    public Integer getMobile() {
        return mobile;
    }

    public void setMobile(Integer mobile) {
        this.mobile = mobile;
    }

    public Integer getDesktop() {
        return desktop;
    }

    public void setDesktop(Integer desktop) {
        this.desktop = desktop;
    }

    public Integer getDirect() {
        return direct;
    }

    public void setDirect(Integer direct) {
        this.direct = direct;
    }

    public Integer getReferral() {
        return referral;
    }

    public void setReferral(Integer referral) {
        this.referral = referral;
    }

    public Integer getSearch() {
        return search;
    }

    public void setSearch(Integer search) {
        this.search = search;
    }

    public Integer getSocial() {
        return social;
    }

    public void setSocial(Integer social) {
        this.social = social;
    }

    public Integer getPaid() {
        return paid;
    }

    public void setPaid(Integer paid) {
        this.paid = paid;
    }

    public String getUrlBefore1() {
        return urlBefore1;
    }

    public void setUrlBefore1(String urlBefore1) {
        this.urlBefore1 = urlBefore1;
    }

    public String getUrlBefore2() {
        return urlBefore2;
    }

    public void setUrlBefore2(String urlBefore2) {
        this.urlBefore2 = urlBefore2;
    }

    public String getUrlBefore3() {
        return urlBefore3;
    }

    public void setUrlBefore3(String urlBefore3) {
        this.urlBefore3 = urlBefore3;
    }

    public String getUrlAfter1() {
        return urlAfter1;
    }

    public void setUrlAfter1(String urlAfter1) {
        this.urlAfter1 = urlAfter1;
    }

    public String getUrlAfter2() {
        return urlAfter2;
    }

    public void setUrlAfter2(String urlAfter2) {
        this.urlAfter2 = urlAfter2;
    }

    public String getUrlAfter3() {
        return urlAfter3;
    }

    public void setUrlAfter3(String urlAfter3) {
        this.urlAfter3 = urlAfter3;
    }

    @Override
    public String toString() {
        return "FlowAnalysis{" +
                "id=" + id +
                ", visit=" + visit +
                ", averageTime=" + averageTime +
                ", conversionRate=" + conversionRate +
                ", mobile=" + mobile +
                ", desktop=" + desktop +
                ", direct=" + direct +
                ", referral=" + referral +
                ", search=" + search +
                ", social=" + social +
                ", paid=" + paid +
                ", urlBefore1=" + urlBefore1 +
                ", urlBefore2=" + urlBefore2 +
                ", urlBefore3=" + urlBefore3 +
                ", urlAfter1=" + urlAfter1 +
                ", urlAfter2=" + urlAfter2 +
                ", urlAfter3=" + urlAfter3 +
                "}";
    }
}
